//
//  RHTopoModel.h
//  RuiHeAppApp
//
//  Created by Yan Chen on 2023/9/15.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface RHTopoModel : BaseModel
@property ( nonatomic ,copy) NSString *E_soc;

@property ( nonatomic ,copy) NSString *E_soh;

@property (nonatomic ,copy) NSString *E_cur;

@property (nonatomic ,copy) NSString *E_tv;

@property ( nonatomic ,copy) NSString *E_cumdchg;



//------------- 电站 设备的topo信息共用这几个字段
//系统PV总功率
@property (nonatomic ,copy) NSString *pvPwr;
//电网功率（从电网买电为正）
@property (nonatomic ,copy) NSString *gridPwr;
//负载功率
@property (nonatomic ,copy) NSString *loadPwr;
//系统电池总功率（充电为正）
@property (nonatomic ,copy) NSString *batPwr;
//系统电池SOC
@property (nonatomic ,copy) NSString *batSoc;
//发电机功率
@property (nonatomic ,copy) NSString *genPwr;


//设备topo电压
@property (nonatomic ,assign) double voltage;
//soh
@property (nonatomic ,assign) double soh;
//soc
@property (nonatomic ,assign) double soc;
//如果batPwr为正数,使用备电时长(单位:分钟)
@property (nonatomic ,copy) NSString *chgTim;
//如果batPwr为负数,使用放电时长(单位:分钟)
@property (nonatomic ,copy) NSString *dischgTim;
//设备状态
@property (nonatomic ,copy) NSString *status;


//首页电站topo电压字段
@property (nonatomic ,copy) NSString *pvVoltage1; //光伏
@property (nonatomic ,copy) NSString *pvVoltage2;
@property (nonatomic ,copy) NSString *gridVoltageR;//电网
@property (nonatomic ,copy) NSString *gridVoltageS;
@property (nonatomic ,copy) NSString *gridVoltageT;
@property (nonatomic ,copy) NSString *loadVoltageR;//负载
@property (nonatomic ,copy) NSString *loadVoltageS;
@property (nonatomic ,copy) NSString *loadVoltageT;
@property (nonatomic ,copy) NSString *batteryVoltage;
@property (nonatomic ,copy) NSString *genInVolR;//发电机
@property (nonatomic ,copy) NSString *genInVolS;


@property (nonatomic ,strong) NSArray *batteryList;//并机数量,如果只有一个就不是并机
@property (nonatomic ,assign) BOOL isShowLoadPower;//是否显示并网负载功率
@property (nonatomic ,copy) NSString *extLoadPower;//并网负载功率

//215 爱尔兰
@property (nonatomic ,copy) NSString *acDc1Power;
@property (nonatomic ,copy) NSString *acDc2Power;
@property (nonatomic ,copy) NSString *pv1Pwr;
@property (nonatomic ,copy) NSString *pv2Pwr;
@property (nonatomic ,copy) NSString *pv3Pwr;
@property (nonatomic ,copy) NSString *dcDc1Power;
@property (nonatomic ,copy) NSString *dcDc2Power;
@property (nonatomic ,copy) NSString *dcDc3Power;
@property (nonatomic ,copy) NSString *pcsPwr;
@property (nonatomic ,assign) BOOL genStatus;//发电机状态

@property (nonatomic ,assign) ProductType productTypeId;
@property (nonatomic ,copy) NSString *productTypeCode;

@property (nonatomic ,assign) NSInteger workStatus;//微网使用
@end

NS_ASSUME_NONNULL_END
